<div class="span10" style="background: #fff;margin-left: 2px;">
<table width="100%" style="margin: 0;padding: 0;" id="_content">
    <tr>
        <td class="hzbar"></td>
        <td style="padding: 10px 15px;" valign="top">
<?php echo $this->session->flashdata('_message'); ?>
<!-- Modal Form -->
<?php echo $action; ?>
<?php echo anchor('administrator/category/index/'.$cat_type.'/create','<i class="icon-plus"></i>Add new category','class="btn"'); ?>
<div style="margin-bottom: 15px;"></div>
<?php
if(!empty($categories)){
?>
    <table class="table table-striped table-bordered table-condensed">
        <?php echo _get_tree_categories(0,$cat_type,0); ?>
    </table>
<?php
}else{
    echo '<div class="alert alert-info"><h4 class="alert-heading">Thông báo!</h4>Chưa có danh mục nào...</div>';
}
?></td></tr></table>
</div>